package com.wenjie.original.entity.vo.SysDictData;

import com.wenjie.original.entity.SysDictData;
import com.wenjie.original.entity.common.vo.IAddVo;
import com.wenjie.original.entity.common.vo.IUpVo;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

public class SysDictDataUpOrAddVo {

    @Data
    public static class UpVo extends baseVo implements IUpVo<SysDictData> {
        @NotNull
        private Long sysDictDataId;
    }

    @Data
    public static class AddVo extends baseVo implements IAddVo<SysDictData> {
        @Null
        private Long sysDictDataId;
    }

    @Data
    private static class baseVo extends SysDictData {

        public void setCreateTime(Long createTime) {
        }

        public void setUpdateTime(Long updateTime) {
        }

        public void setVersion(Long version) {
        }

        public void setDelFlag(Long delFlag) {
        }
    }


}
